package cc.iotkit.data.service;

import cc.iotkit.data.model.TbIotContributor;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * @Author: 石恒
 * @Date: 2023/8/3 22:19
 * @Description:
 */
public interface IotContributorService extends IService<TbIotContributor> {

    List<TbIotContributor> findByConditions(LambdaQueryWrapper<TbIotContributor> lambdaQueryWrapper);

    TbIotContributor findOneByConditions(LambdaQueryWrapper<TbIotContributor> lambdaQueryWrapper);

    Page<TbIotContributor> findPageByConditions(LambdaQueryWrapper<TbIotContributor> lambdaQueryWrapper, int page, int size);
}
